using SqlSugar;
using System.ComponentModel.DataAnnotations;

namespace Process.API.DTOs
{
    public class ProductionMaterialDto
    {
        /// <summary>
        /// 生产工单物料清单主键
        /// </summary>
        public int ProductionMaterialId { get; set; }

        /// <summary>
        /// 生产工单ID
        /// </summary>
        public int ProductionOrdersId { get; set; }

        /// <summary>
        /// 物料编号
        /// </summary>
        public string MaterialCode { get; set; }

        /// <summary>
        /// 物料名称
        /// </summary>
        public string MaterialName { get; set; }

        /// <summary>
        /// 单位
        /// </summary>
        public string Unit { get; set; }

        /// <summary>
        /// 规格型号
        /// </summary>
        public string Specification { get; set; }

        /// <summary>
        /// 物料属性
        /// </summary>
        public bool Attribute { get; set; }

        /// <summary>
        /// 库存上限
        /// </summary>
        public int Inventorylimit { get; set; }

        /// <summary>
        /// 库存下限
        /// </summary>
        public int Inventorylevel { get; set; }

        /// <summary>
        /// 当前库存
        /// </summary>
        public int CurrentInventory { get; set; }

        /// <summary>
        /// 仓库编号
        /// </summary>
        public string WarehouseCode { get; set; }

        /// <summary>
        /// 采购价格
        /// </summary>
        public decimal PurchasePrice { get; set; }

        /// <summary>
        /// 有效期
        /// </summary>
        public int PeriodOfValidity { get; set; }

        /// <summary>
        /// 物料状态
        /// </summary>
        public bool MaterialState { get; set; }

        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool IsDel { get; set; }
    }
}
